-- Weather:
-- * rain
-- * snow
-- * wind (not implemented)

local path = minetest.get_modpath("lunoweather")

lunoweather = { }
lunoweather.day = ""
lunoweather.frequency = 28 -- 28 dias do mes
--lunoweather.frequency_clearday = 1
--lunoweather.frequency_rainsnow = 500
lunoweather.frequency_rain_primavera = 7 -- 7/28 (7 dia de chuva)
lunoweather.frequency_rain_verao = 2  -- 3/28 (2 dias de chuva)
lunoweather.frequency_rain_outono = 14 -- 14/28 (14 dias de chuva)
lunoweather.frequency_rain_inverno = 0

dofile(path.."/api.lua")
dofile(path.."/rain.lua")
dofile(path.."/snow.lua") --Esta lagando o server
dofile(path.."/weather.lua")

minetest.log('action',"[LUNOWEATHER] Carregado!")

